/**
 * 
 */
package cn.haona.game.simb.object.bio;

import java.io.Serializable;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Timestamp;
import java.util.HashMap;

import cn.haona.db.RelevanceBean;
import cn.haona.game.simb.comm.util.Util;
import cn.haona.game.simb.object.Persistence;
import cn.haona.game.simb.object.PersistenceImpl;
import cn.haona.game.simb.object.bio.User;
import cn.haona.game.simb.object.bio.User.UserPO;
import cn.haona.game.simb.object.god.MainManager;

/**
 * NPC
 * 
 * @author Administrator
 * 
 */
public class Npc extends Human implements Serializable
{

    /**
	 * 
	 */
    private static final long serialVersionUID = -6383081071373255969L;

    /**
	 * 
	 */
    public Npc()
    {
	// TODO Auto-generated constructor stub
    }

    public void initPO()
    {
	if (pO == null)
	{
	    pO = new NpcPO();
	}
	System.out.println("初始化用户");
    }

    /**
     * 得到UserPO对象
     * 
     * @return
     */
    public NpcPO getNpcPO()
    {
	return (NpcPO) pO;
    }

    /**
     * 持久化对象
     * 
     * @author Administrator
     * 
     */
    public class NpcPO extends PersistenceHuman implements Serializable
    {
	/**
	 * 
	 */
	private static final long serialVersionUID = 860991347506960574L;
	final public static String TABLE_NAME = "OPT_NPC";

	public boolean cacheMe()
	{
	    // TODO Auto-generated method stub
	    return false;
	}

	public HashMap<String, RelevanceBean> getReflectRelevance()
	{
	    return super.getReflectRelevance();
	}

    }

}
